/*************************************************
Author: bob
Date: 12/26/2013
Description:
Notes: 
*************************************************/

#ifndef __CMDGETPARTNERINFO_H__
#define __CMDGETPARTNERINFO_H__

#include "../maindef.h"
#include "commclass.h"
#include "PBMsgHead.pb.h"
#include "../data/CPlayerOnlineData.h"
#include "MsgPartnerInfo.pb.h"

class CMainCtrl;

class CCmdGetPartnerInfo : public CTAsyncCmd
{
public:
    virtual int Do(void* pData);
    virtual int AnsClients(int iRet);
    virtual int LogicDo(int iRet);

	int GetPlayerAttr(MsgPlayerInfo &stPalyerInfo, CPlayerBaseInfo& stPlayerBaseInfo, CPlayerDetailInfo& stPlayerDetailInfo, CPlayerDetailInfoEx1& stPlayerDetailInfoEx1,CPlayerOnlineData& stPlayerOnlineData, CPlayerSnsCommInfo& stPlayerSnsCommInfo);
    CMainCtrl* pstMainCtrl;
    PBMsgHead  stMsgHead;
    CEnpNetHead stEnpHead;

	unsigned int uiGID;
	MsgReqRolePartnerInfo stReq;
  
    MsgAnsRoleParterInfo stAns;
};


#endif //

